url = '/account/profile.html'
description = '用户信息修改'
layout = 'default'
is_hidden="0"

[session]
security = "user"
redirect = "account/login"
==
<!-- contents -->
<div id="contents">
  <nav class="crumbs_nav">
    <ul class="crumbs_list rdstr">
      <li class="crumbs_item">
        <a class="crumbs_link" href="/">
          <span>{{ 'Home'|_ }}</span>
        </a>
      </li>
      <li class="crumbs_item">
        <a class="crumbs_link" href="{{ 'account/dashboard'|page }}">
          <span>{{ 'My account'|_ }}</span>
        </a>
      </li>
      <li class="crumbs_item no_deco">
        <span class="crumbs_link">{{ 'Change the member  information '|_ }}</span>
      </li>
    </ul>
  </nav>
   {{ form_open({'id':'editinput','request' : 'onSaveAccount'}) }}
    <section class="section_margin">
      <h3 class="title2">{{ 'Change the member  information '|_ }}</h3>
      <div class="grid_margin">
        <div style="color:#999;">
          <div class="chasier_label">{{ 'E-mail address'|_ }}</div>
          {{ user.email }}
        </div>
        <div class="mt10">
          <div class="chasier_label">{{ 'Name'|_ }}</div>
          <div class="box_horizon">
            <div class="right_margin">
              <input class="commonInput" type="text" name="profile[name]" value="{{ user.name }}" size="8" maxlength="20">
            </div>
            <div>
              <input class="commonInput" type="text" name="profile[surname]" value="{{ user.surname }}" size="8" maxlength="20">
            </div>
          </div>
        </div>
        
        <!-- <div class="mt10">
          <div class="chasier_label">ニックネーム</div>
          {{ user.username }}
        </div> -->
        <div class="mt10">
          <label class="chasier_label">{{ 'New password'|_ }}</label>
          <input class="commonInput" type="password" name="profile[password]" size="9">
        </div>
        <div class="mt10">
          <label class="chasier_label">{{ 'Confirm the new password'|_ }}</label>
          <input class="commonInput" type="password" name="profile[password_confirmation]" size="9">
        </div>
        <a class="_submit button_decide mt20" href="#editinput">
          <span class="button_txt">{{ 'Next'|_ }}</span>
        </a>
        <input class="_submitHide" type="submit" name="" value="">
      </div>
    </section>
  {{ form_close() }}
</div>
<!-- end contents -->

